]> dgit.raspbian.org Git - gnome-shell.git/commit
systemActions: Switch to updated CanShutdown() API
authorAdrian Vovk <adrianvovk@gmail.com>
Fri, 27 Feb 2026 20:58:17 +0000 (15:58 -0500)
committerMarge Bot <marge-bot@gnome.org>
Tue, 3 Mar 2026 04:57:17 +0000 (04:57 +0000)
commit9764ddf8b2575164449363a0b45cf38ad88478d6
tree9e6cc7345478d150b61a10b03ef55f0eca0a0ddf
parent6b482e1720cb373b8a66146f16ffc9d2e49a7c52
systemActions: Switch to updated CanShutdown() API

There's corresponding changes in gnome-session that report more detail
about the availability of the action. This allows gnome-shell to
appropriately hide the action whenever it is inhibited, and would lead
to a Polkit prompt.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4040>
data/dbus-interfaces/org.gnome.SessionManager.xml
js/misc/gnomeSession.js
js/misc/systemActions.js